import {LiYangCommitApi} from "@/api/user_common";

/**
 * 溧阳接口扩展类
 */
const ApiLiYangUtil = {
  /**
   * 溧阳 信息发布屏查询号源
   */
  async scheduleShown(self, apiData, callBack, backstageRefresh) {
    // 获取接口数据
    // 获取 参数
    let apiParams = apiData.apiParams;
    const formJson = {
      terminalId: self.deviceInfo.screenId,
    };
    Object.assign(formJson, apiParams);
    const {code, data} = await LiYangCommitApi.scheduleShown(formJson);
    return data || []
  },

  /**
   * 溧阳 信息发布屏-检查项目公示
   */
  async examItem(self, apiData, callBack, backstageRefresh) {
    // 获取接口数据
    const formJson = {};
    const {code, data} = await LiYangCommitApi.examItem(formJson);
    return data || []
  },

  /**
   * 溧阳 信息发布屏-专家简介
   */
  async expertIntroduce(self, apiData, callBack, backstageRefresh) {
    // 获取接口数据
    const formJson = {
      terminalId: self.deviceInfo.screenId,
    };
    const {code, data} = await LiYangCommitApi.expertIntroduce(formJson);
    return data || []
  },


};
export {ApiLiYangUtil};
